﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HangYi_Coffee_Class
{
    /// <summary>
    /// 订单表
    /// </summary>
    /// <returns></returns>
    public class Order
    {
        /// <summary>
        /// 编号id
        /// </summary>
        /// <returns></returns>
        public int Id { get; set; }
        /// 订单号
        /// 如订单号：EDI4EPNM4O3VHXOZ
        /// 或      ：EVR6454335754522
        public string? Identification { get; set; }
        /// <summary>
        /// 消费者ID
        /// </summary>
        /// <returns></returns>
        public int? CustomerId { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        /// <returns></returns>
        public double? Total_Price { get; set; }
        /// <summary>
        /// 总数
        /// </summary>
        /// <returns></returns>
        public int? Total_Quantity  { get; set; }
        public string? Ice { get; set; }
        /// <summary>
        /// 就餐方式
        /// </summary>
        /// <returns></returns>
        public string? Dining { get; set; }
        /// <summary>
        /// 就餐时间/配送时间
        /// </summary>
        /// <returns></returns>
        public DateTime? Mealtime { get; set; }
        /// <summary>
        /// 下单时间
        /// </summary>
        /// <returns></returns>
        public DateTime? Ordertime { get; set; }
        /// <summary>
        /// 详细表
        /// </summary>
        /// <returns></returns>
        public List<Detail> details { get; set; } 

    }
}
